<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
    <style>
        p{
            height: 100px;
            width: 100px;
            border: 1px solid red;
            transform: rotate(40deg);
        }
        p:hover{
            transform: rotate(360deg) scale(1.2);
            transition: all 3s;
        }
    </style>
</head>
<body>
    <p>我是快</p>
</body>
</html>